<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" th:href="@{/adminlte/bower_components/bootstrap/dist/css/bootstrap.min.css}">
    <!-- Font Awesome -->
    <link rel="stylesheet" th:href="@{/adminlte/bower_components/font-awesome/css/font-awesome.min.css}">
    <!-- Ionicons -->
    <link rel="stylesheet" th:href="@{/adminlte/bower_components/Ionicons/css/ionicons.min.css}">
    <!-- Theme style -->
    <link rel="stylesheet" th:href="@{/adminlte/dist/css/AdminLTE.min.css}">
    <!-- AdminLTE Skins. We have chosen the skin-blue for this starter
          page. However, you can choose any other skin. Make sure you
          apply the skin class to the body tag so the changes take effect. -->
    <link rel="stylesheet" th:href="@{/adminlte/dist/css/skins/skin-blue.min.css}">
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}">

    <title>标椎地名地址管理系统</title>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

    <div th:replace="common/header :: header"></div>

    <div th:replace="common/menu :: menu"></div>

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper" >
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                Page Header
                <small>Optional description</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i></a>首页</li>
                <li class="active">登陆成功</li>
            </ol>
        </section>

        <!-- Main content -->
        <section class="content container-fluid">

            <!--------------------------
              | Your Page Content Here |
              -------------------------->
            <div class="row">

                <div class="col-md-2  "></div>
                <div class="col-md-7">
                    <!--<form class="layui-form" action="/Question/edit" method="post" th:object="${question}">-->
                        <!--<div class="layui-form-item">-->
                            <!--<h4><label class="layui-form-label">处理结果</label></h4>-->
                            <!--<div class="layui-input-block">-->
                                <!--<input type="hidden" th:value="${question.questionId}" name="questionId">-->
                                <!--<input type="text" th:value="${question.result}" name="result" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">-->
                            <!--</div>-->
                        <!--</div>-->
                        <!--<div class="layui-form-item">-->
                            <!--<div class="layui-input-block">-->
                                <!--<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>-->
                                <!--<button type="reset" class="layui-btn layui-btn-primary">重置</button>-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</form>-->
                    <form  th:action="@{/Question/edit}" method="post" th:object="${question}">
                        <div class="box box-info">
                            <div class="box-header with-border">
                                <h3 class="box-title">Input Addon</h3>
                            </div>
                            <!--                    <div class="input-group">-->
                            <!--                        <div class="input-group-btn">-->
                            <!--                            <button type="button" class="btn btn-block btn-success btn-sm" >id</button>-->
                            <!--                        </div>-->
                            <!--                        &lt;!&ndash; /btn-group &ndash;&gt;-->
                            <!--                        <input type="text" class="form-control"  name="topic" th:field="*{announceId}">-->
                            <!--                    </div>-->

                            <input type="hidden" th:field="*{questionId}">

                            <div class="box-body">
                                <div class="input-group">
                                    <span class="input-group-addon">处理结果</span>
                                    <input type="text" class="form-control"  name="author" th:field="*{result}">
                                </div>
                                <br>






                        <span class="input-group-btn">
                      <button type="submit" class="btn btn-info btn-flat"  style="width:200px; height:30px;">发布</button>
                    </span>
                                </div>
                                <!-- /input-group -->
                            </div>
                            <!-- /.box-body -->
                        </div>
                    </form>


                <div class="col-md-3  "></div>

            </div>

        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    <div th:replace="common/footer :: footer"></div>



</div>
<!-- ./wrapper -->

<!-- REQUIRED JS SCRIPTS -->

<!-- jQuery 3 -->
<script th:src="@{/adminlte/bower_components/jquery/dist/jquery.min.js}"></script>
<!-- Bootstrap 3.3.7 -->
<script th:src="@{/adminlte/bower_components/bootstrap/dist/js/bootstrap.min.js}"></script>
<!-- AdminLTE App -->
<script th:src="@{/adminlte/dist/js/adminlte.min.js}"></script>
<script th:src="@{/layui/layui.js}"></script>

<script>
    //Demo
    layui.use('form', function(){
        var form = layui.form;

        //监听提交
        form.on('submit(formDemo)', function(data){
            // layer.msg(JSON.stringify(data.field));
            // return false;
        });
    });
</script>



</body>
</html>


